package com.luochen.cdpt.controller;

import com.luochen.cdpt.eneity.Page;
import com.luochen.cdpt.service.FeePolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Auther: star
 * @Date: 2019/1/12 11:23
 * @Description:
 */
@RestController
public class FeePolicyController {

    @Autowired
    FeePolicyService feePolicyService;

    @ResponseBody
    @RequestMapping(value = "/feepolicy/list",method = RequestMethod.GET )
    public Page<Map> findFeePolicyList(HttpServletRequest request) {
        return feePolicyService.findFeePolicyList(request);
    }

}
